var _ = require('./../../FrameWork/we_underscore');
var PlanApi = require('./../../PlanData/PlanApi');
var PkCardTool = module.exports = {};

/***将牌id组转化为牌信息组 */
PkCardTool.getCardInfos = function(_cardIds) {
    var cardInfos = [];
    _.each(_cardIds, function(_cardId) {
        var cardInfo = PlanApi.PlanPkConfig.findById(_cardId);
        cardInfos.push(cardInfo);
    });
    return cardInfos;
}